﻿@{
    Layout = "../_layout.cshtml";
    Page.Title = "图书详细";
    Page.Description = V5.Config.View["SiteDescription"];
    Page.Keywords = V5.Config.View["SiteKeywords"];
}
@{
    var Id = InputHelper.SetNumber(Request["Id"]);
    DataRow drView = V5.Book.Get_By(Id.ToString());
    if (drView == null) {
        Response.Write("错误的参数!");
        Response.End();
    }
}
<div id="content">
    <div style="margin-top: 10px;">
        <a href="#zhuanti/1089.html" target="_blank">
            <img src="/@(V5.Config.TemplatePath)/ad/top20134.gif" alt="淘书网世界读书日，注册即送5元优惠卷"></a></div>
    <div class="crumbs">
        <span>您现在的位置：</span><a href="#">淘书网</a><a href="#list/1002.html">文学艺术</a><a href="#list/1077.html">文学</a><a
            href="#list/1159.html">作品集</a><a href="#list/1160.html">中国文学作品集</a><span>@drView["BookName"]</span>
    </div>
    <div class="layout grid-s5m0">
        <div class="col-main">
            <div class="main-wrap">
                <div class="h1_title">
                    <h1>@drView["BookName"]</h1>
                </div>
                <div class="book">
                    <div class="pic">
                        <a href="#1131448.html#">
                            <img src="@drView["WeiZhi"]" alt="@drView["BookName"]"></a></div>
                    <div id="tjinfo">
                        特价书数量非常有限，库存变化很快；<br>
                        买到即是赚到！<a href="#help/64.html" target="_blank">[关于品相等更多问题]</a></div>
                    <span id="tjtag"></span><span class="coin-popup"><span class="cor"></span><span class="con">
                        特价书是出版商库存积压、书店下架返库图书……<a href="#help/64.html" target="_blank">点此查看详情</a></span></span>
                </div>
                <div class="info">
                    <p class="price_d">
                        淘书价：<span class="num" id="price-txt">￥5.40</span></p>
                    <p class="vip">
                        贵宾价：贵宾会员尊享全场图书折上折，详见<a href="#help/62.html">积分及会员等级</a></p>
                    <p class="price_m">
                        定 价：￥15.80<span>折扣：<span class="o" id="zhekou-txt">34折</span></span><span id="jiesheng-txt">立即节省：￥10.40</span></p>
                    <p class="kucun">
                        库 存：<span class="g">有货</span></p>
                    <p class="pinlei">
                        品 类：<span id="hastj" class="r">特价</span>（库存紧张，欲购从速）<a class="tj-help" href="#help/64.html"
                            target="_blank" title="去看看什么是特价书">帮助</a></p>
                    <div class="yunfei">
                        运 费：送至<div id="selected_area">
                            <a href="javascript:;" id="province">请选择地区</a>
                            <div id="address" class="address ks-dialog ks-overlay ks-ext-position" style="left: 1px;
                                top: 16px; z-index: 9999; width: 312px; visibility: hidden; display: block;">
                                <div class="ks-contentbox ">
                                    <p class="ks-stdmod-header">
                                        选择收货地址</p>
                                    <div class="ks-stdmod-body" id="address_list">
                                        <a id="110000" href="javascript:;">北京</a><a id="120000" href="javascript:;">天津</a><a
                                            id="130000" href="javascript:;">河北</a> <a id="140000" href="javascript:;">山西</a><a
                                                id="150000" href="javascript:;">内蒙古</a> <a id="210000" href="javascript:;">辽宁</a><a
                                                    id="220000" href="javascript:;">吉林</a> <a id="230000" href="javascript:;">黑龙江</a><a
                                                        id="310000" href="javascript:;">上海</a> <a id="320000" href="javascript:;">江苏</a><a
                                                            id="330000" href="javascript:;">浙江</a> <a id="340000" href="javascript:;">安徽</a><a
                                                                id="350000" href="javascript:;">福建</a> <a id="360000" href="javascript:;">江西</a><a
                                                                    id="370000" href="javascript:;">山东</a> <a id="410000" href="javascript:;">河南</a><a
                                                                        id="420000" href="javascript:;">湖北</a> <a id="430000" href="javascript:;">湖南</a><a
                                                                            id="440000" href="javascript:;">广东</a> <a id="450000" href="javascript:;">广西</a><a
                                                                                id="460000" href="javascript:;">海南</a> <a id="500000" href="javascript:;">重庆</a><a
                                                                                    id="510000" href="javascript:;">四川</a>
                                        <a id="520000" href="javascript:;">贵州</a><a id="530000" href="javascript:;">云南</a>
                                        <a id="540000" href="javascript:;">西藏</a><a id="610000" href="javascript:;">陕西</a>
                                        <a id="620000" href="javascript:;">甘肃</a><a id="630000" href="javascript:;">青海</a>
                                        <a id="640000" href="javascript:;">宁夏</a><a id="650000" href="javascript:;">新疆</a>
                                        <a id="710000" href="javascript:;">台湾</a><a id="810000" href="javascript:;">香港</a><a
                                            id="820000" href="javascript:;">澳门</a>
                                    </div>
                                    <div class="ks-stdmod-footer">
                                    </div>
                                </div>
                                <a tabindex="0" href="javascript:void('关闭')" role="button" class="ks-ext-close" style="">
                                    <span class="ks-ext-close-x">关闭</span></a></div>
                        </div>
                        <span id="yunfei"></span><span class="youhui">满128免快递费</span><a href="#help/65.html"
                            target="_blank" id="jieshao">运费说明</a></div>
                    <div class="book_detailed">
                        <p>
                            作 者：<a href="#author_%e5%bc%a0%e8%b4%a4%e4%ba%ae/" title="更多同作者相关图书" target="_blank">张贤亮</a>著</p>
                        <p>
                            出版社：<a href="#press_%e9%99%95%e8%a5%bf%e6%97%85%e6%b8%b8%e5%87%ba%e7%89%88%e7%a4%be/"
                                title="点击查看更多该出版社图书" target="_blank">陕西旅游出版社</a></p>
                        <ul class="clearfix">
                            <li><span>ISBN：9787801276506</span><span>出版时间：1999-12-01</span><span>页数：235页</span></li>
                            <li><span>包装：胶版纸</span><span>开本：20cm</span><span>字数：</span></li>
                        </ul>
                    </div>
                    <div class="property" id="property">
                        <div id="buynum" class="num clearfix">
                            <label>
                                我要买：</label><input type="text" value="1" name="buy_num" id="buy_num" class="text">件<span
                                    id="buy_num_text" class="wrong" style="display: none" buy_num="1">请输入购买数量</span></div>
                        <div class="but clearfix" id="productbtn">
                            <a href="javascript:void(0);" onclick="javascript:addToCart();" title="购买" id="btn-buy"
                                dj="15.80" sm="青春期" tp="http://img.taoshu.com/pic_120/2006/05/27/00544298411593.jpg"
                                zt="2" tsj="5.40" zsj="5.40" tkc="3" zkc="3" tzk="34" zzk="34" sl="2" pid="1131448"
                                class="btn-buy"></a><a href="javascript:void(0);" id="btn-fav" onclick="javascript:addToFavotite();"
                                    title="收藏" class="btn-add"></a>
                            <div class="clearfix">
                            </div>
                        </div>
                    </div>
                    <div class="promote">
                        <div class="msg">
                            <div class="msg-default msg-notice">
                                <i class="msg-icon"></i>
                                <h4 class="msg-title">
                                </h4>
                                <div class="msg-content">
                                    <a href="#zhuanti/1089.html" target="_blank">4.23世界读书日，4月全民读书月，注册即送5元红包</a></div>
                            </div>
                        </div>
                    </div>
                    <div class="shareto">
                        <div class="share-area">
                            <!-- JiaThis Button BEGIN -->
                            <div class="jiathis_style">
                                <a class="jiathis_button_qzone">QQ空间</a> <a class="jiathis_button_tsina">新浪微博</a>
                                <a class="jiathis_button_tqq">腾讯微博</a> <a class="jiathis_button_renren">人人网</a>
                                <a href="http://www.jiathis.com/share?uid=1739160" class="jiathis jiathis_txt jiathis_separator jtico jtico_jiathis"
                                    target="_blank">更多</a> <a class="jiathis_counter_style"></a>
                            </div>
                            <script type="text/javascript">
                                var jiathis_config = { data_track_clickback: 'true' };
                            </script>
                            <script type="text/javascript" src="http://v3.jiathis.com/code/jia.js?uid=1359528962387951"
                                charset="utf-8"></script>
                            <!-- JiaThis Button END -->
                        </div>
                    </div>
                </div>
                <div class="group_wrap">
                    <h2>
                        淘书推荐图书套餐</h2>
                    <div class="group">
                        <ul>
                            <li class="pic_choice none"><a href="@V5.Html.Out(drView["Url"])" title="@drView["BookName"]"
                                            class="pic">
                                <img src="@drView["Weizhi"]"></a> </li>
                            @foreach (DataRow dr in V5.Book.Query_By("*", "", "", 3).Rows) {
                                <li class="pic_choice" id="pr966742"><a href="@V5.Html.Out(dr["Url"])" title="@dr["BookName"]" target="_blank"
                                                class="pic">
                                    <img src="@dr["Weizhi"]"></a><div>
                                        <input class="group_input" value="966742" dj="20.00" sj="15.20" checked="checked"
                                            type="checkbox" name="groupbuy" onclick="void(0);"><label><a href="@V5.Html.Out(dr["Url"])"
                                                            target="_blank" title="@dr["BookName"]">@dr["BookName"]</a></label></div>
                                </li>
                            }
                        </ul>
                        <div class="group_result">
                            <p class="tips">
                                <span id="packCount">2</span>种图书组合购买</p>
                            <p class="price_m">
                                总定价：<span id="sumopriceDiv">￥35.80</span></p>
                            <p class="price_d">
                                总淘书价：<span id="sumpriceDiv">￥20.60</span></p>
                            <a href="javascript:addGroupToCart();" id="buy_package" class="btn-buy"></a>
                            <div class="group_hint" id="package_error" style="display: none">
                                请至少保留一件商品</div>
                        </div>
                    </div>
                </div>
                <ul class="tab_title">
                    <li onclick="void(0);" class="current2"><span id="tab_detail">商品详情</span></li>
                    <li onclick="void(0);"><a href="#1131448.html#" id="tab_comm" onclick="return change_tab(&#39;tab_comm&#39;);">
                        商品评论(<strong>0</strong>条)</a></li>
                    <li onclick="void(0);"><a href="#1131448.html#" id="tab_question" onclick="return change_tab(&#39;tab_question&#39;);">
                        商品问答(<strong>0</strong>条)</a></li>
                </ul>
                <div class="item book_edit" style="">
                    <span id="detail_all"><a name="content"></a><span id="content">
                        <h4>
                            内容简介</h4>
                        <div id="content_text" class="customize">
                            @drView["Note"]
                        </div>
                    </span><a name="authorintro"></a><span id="authorintro">
                        <h4>
                            作者简介</h4>
                        <div id="authorintro_text" class="customize">
                            暂缺作者简介</div>
                    </span><a name="catalog"></a><span id="catalog">
                        <h4>
                            目录</h4>
                        <div id="catalog_text" class="customize">
                            青春期
                            <br>
                            <br>
                            老照片
                            <br>
                            <br>
                            父子篇
                            <br>
                            <br>
                            睡前絮语
                            <br>
                            <br>
                            随风而去
                            <br>
                            <br>
                            丫头婆姨
                            <br>
                            <br>
                            小说规律
                            <br>
                            <br>
                            出卖“荒凉”
                            <br>
                            <br>
                            “不可说”
                            <br>
                            <br>
                            我与《朔方》
                            <br>
                            <br>
                            心安即福地</div>
                    </span></span>
                </div>
                <div id="comm_all" class="comment book_comment" style="">
                    <h2 id="comm_title" style="">
                        <span>商品评论（0条）</span></h2>
                    <div class="comm_null">
                        暂时没有评论<a href="#1131448.html#" id="write_comm">第一个写评论</a></div>
                </div>
                <div id="question_all" class="qa book_qa" style="">
                    <h2 id="question_title" style="">
                        <span>商品问答（0条）</span></h2>
                    <div class="qa_null">
                        暂时没有问答<a href="#1131448.html#" id="write_comm">我要提问</a></div>
                </div>
            </div>
        </div>
        <div class="col-sub">
            <!-- 热卖榜 -->
            <div class="left-book">
                <div class="left-title">
                    同类图书热卖榜</div>
                <ul class="book-ul" id="j_books">
                    @{
                        var loopNum = 1;
                        foreach (DataRow dr in V5.Book.Query_By("*", "", "", 10).Rows) {
                            var ccHtml = "";
                            var firstHtml = "";
                            if (loopNum == 1) {
                                firstHtml = "selected";
                            }
                            if (loopNum < 5) {
                                ccHtml = "hot-3";
                            }
                        <li class="@ccHtml @firstHtml"><strong>@(loopNum)</strong><a id="hbooks_ctl00_cover" title="@dr["BookName"]"
                                class="tbook-img img60" href="@V5.Html.Out(dr["Url"])" target="_blank"><img
                                    title="@dr["BookName"]" src="@dr["weizhi"]" style="border-width: 0px;" width="60" height="60" /></a>
                            <div class="tbook-info">
                                <div class="tbook-name">
                                    <a id="hbooks_ctl00_bookname" title="@dr["BookName"]" href="@V5.Html.Out(dr["Url"])"
                                            target="_blank">@dr["BookName"]</a></div>
                                <p class="tbook-price">
                                    <span class="price_d">¥<em>@dr["SellPrice"]</em></span><span class="discount">26折</span></p>
                            </div>
                        </li>
                            loopNum++;
                        }
                    }
                </ul>
            </div>
            <!-- 热卖榜END -->
            <div class="left-book">
                <div class="left-title">
                    淘书推荐特价好书</div>
                <ul class="book-ul" id="j_books2">
                    @{
                        loopNum = 1;
                        foreach (DataRow dr in V5.Book.Query_By("*", "", "", 10).Rows) {
                            var ccHtml = "";
                            var firstHtml = "";
                            if (loopNum == 1) {
                                firstHtml = "selected";
                            }
                            if (loopNum < 5) {
                                ccHtml = "hot-3";
                            }
                        <li class="@ccHtml @firstHtml"><strong>@(loopNum)</strong><a id="hbooks_ctl00_cover11" title="@dr["BookName"]"
                                class="tbook-img img60" href="@V5.Html.Out(dr["Url"])" target="_blank"><img
                                    title="@dr["BookName"]" src="@dr["weizhi"]" style="border-width: 0px;" width="60" height="60" /></a>
                            <div class="tbook-info">
                                <div class="tbook-name">
                                    <a id="hbooks_ctl00_bookname11" title="@dr["BookName"]" href="@V5.Html.Out(dr["Url"])"
                                            target="_blank">@dr["BookName"]</a></div>
                                <p class="tbook-price">
                                    <span class="price_d">¥<em>@dr["SellPrice"]</em></span><span class="discount">26折</span></p>
                            </div>
                        </li>
                            loopNum++;
                        }
                    }
                </ul>
            </div>
        </div>
    </div>
</div>
@section meta{
    <link rel="stylesheet" type="text/css" href="/@(V5.Config.TemplatePath)/style/book-view.css" />
}
@section header{
    @RenderPage("../inc/_header-channel-nav.cshtml")
}
@section footer{
    @RenderPage("../inc/_footer-friendlinks.cshtml")
}
@section bottom{
    <script type="text/javascript" src="/@(V5.Config.TemplatePath)/Images/ts-common.js"></script>
    <script type="text/javascript" src="/@(V5.Config.TemplatePath)/scripts/book-view.js"></script>
}
